<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Elinker - <%= @titulo || "Sin titulo" %></title>

    <%= javascript_include_tag "prototype" %>
    <%= javascript_include_tag "reset" %>
    <%= javascript_include_tag "effects" %>
    <%= javascript_include_tag "elinker" %>

    <%= stylesheet_link_tag "reset" %>
    <%= stylesheet_link_tag "style" %>
</head>

<body>
    <h1 id="header">
        <span id="head">Elinker</span>
        <span id="tag"><%= @titulo || "Sin titulo" %></span>
        <% if not session['user'].nil? %>
            <span id="mensaje_bienvenida">Bienvenido <%= session['user'].login %></span>
        <% end %>
    </h1>

    <div id="container">
        <h2>Navigation</h2>

        <div id="sidebar">
            <ul>
                <li><a href="/">Inicio</a><br />
                <li><a href="/mis_sitios">Mis Sitios</a><br />
                <li><a href="/mis_foros">Mis Foros</a><br />
                <li><a href="/mis_temas">Mis Temas</a><br />
                <li><a href="/mis_elinks">Mis Elinks</a><br />
            </ul>
        </div>

        <div id="content">
            <p id="flash" style="color: green">
                <%= flash[:notice] %>
            </p>

            <%= yield %>
        </div>

        <div id="footer">
            &copy; 2006 VooD Inc. | Design By <a href="http://darkfate.info/">Dave Weitz</a>
        </div>
    </div>
</body>
</html>
